package com.appspot.thinkhea.model;

import android.graphics.Bitmap;

public class Picture {
	private int id;
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Bitmap getImage() {
		return image;
	}

	public void setImage(Bitmap image) {
		this.image = image;
	}

	public int getRate() {
		return rate;
	}

	public void setRate(int rate) {
		this.rate = rate;
	}

	private String name;
	private String detail;
    private Bitmap image;
    private int rate;
    
    public Picture() {
    	id = -1;
    	name = "";
    	detail = "";
    	image = null;
        rate = -1;
    }
    
    public Picture(String n, String d,Bitmap b, int v) {
    	id = -1;
    	name = n;
    	detail = d;
    	image = b;
        rate = v;
    }
    
    public Picture(int i, String n, String d,Bitmap b, int v) {
    	id = i;
    	name = n;
    	detail = d;
    	image = b;
        rate = v;
    }

} 